:root {
    --logo-size: 50rem;
}

/*
 * 定义一个淡出动画
 */
 @keyframes fadeOut {
    0% {
        opacity: 1;
        /* transform: translateY(-50%); */
    }
    100% {
        transform: translateY(-10%);
        opacity: 0;
    }
}

/*
 * 定义一个淡入动画
 */
 @keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.page {
    width: 100vw;
    height: 100vh;
    /* background-color: #f5f5f5; */
    position: relative;
    overflow: hidden;
    user-select: auto;
}

.donghua-box {
    width: 100vw;
    height: 100vh;
    position: relative;
    animation: fadeOut 1s ease-out 1s 1 normal both;
}

.content {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* 在此处应用淡出动画 */
    /* animation: fadeOut 1s ease-in-out forwards; */
}
.logo {
    width: var(--logo-size);
    height: var(--logo-size);
}
.logo img {
    width: 100%;
    height: 100%;
}
.title-box {
    font-size: 12rem;
    font-family: '华文新魏';
}
.bottom-text {
    width: 100vw;
    text-align: center;
    font-size: 3rem;
    color: rgb(106, 106, 106);
    position: absolute;
    top: 80%;
    transform: translateY(-50%);
    /* animation: fadeOut 1s ease-out 1s 1 normal both; */
}

.top-line {
    position: absolute;
    top: 0;
    width: 100vw;
    height: 50rem;
    /* background-color: rgb(233, 244, 255); */
    /* 渐变背景 */
    background: linear-gradient(to bottom, rgb(233, 244, 255), rgb(249, 252, 255));
    animation: fadeIn 1s ease-out 1s 1 normal both;
}

.bg1, .bg2, .bg3, .bg4, .bg5 {
    position: absolute;
    background: linear-gradient(to right, rgb(219, 237, 253), rgb(233, 242, 252));
    border-radius: 1rem;
}

.bg1 {
    top: 10%;
    left: 60%;
    width: 18rem;
    height: 10rem;
}

.bg2 {
    top: 50%;
    left: 70%;
    width: 34rem;
    height: 19rem;
}

.bg3 {
    top: 70%;
    left: 20%;
    width: 15rem;
    height: 7rem;
}

.bg4 {
    top: 80%;
    left: 0%;
    width: 30rem;
    height: 7rem;
}

.bg5 {
    top: 30%;
    left: 10%;
    width: 40rem;
    height: 10rem;
}

.top-line-title {
    font-size: 8rem;
    font-weight: 900;
    position: absolute;
    top: 35%;
    left: 10rem;
}

.top-line-title::after {
    margin-left: 3%;
    padding: 2% 7%;
    content: attr(afterText);
    width: 5em;
    display: block;
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    font-size: 5rem;
    text-align: center;
    color: #fff;
    background-color: rgb(23, 133, 199);
    border-radius: 1rem;
}

.top-line-text {
    font-size: 2.5rem;
    position: absolute;
    top: 65%;
    left: 10rem;
}

.login-line {
    width: 100vw;
    min-height: 100vh;
    background-color: #fff;
    position: absolute;
    top: 45rem;
    border-radius: 5rem 5rem 5rem 5rem;
    animation: fadeIn 1s ease-out 1s 1 normal both;
    box-shadow: 0 0 3rem 0rem rgba(0, 0, 0, 0.3);
}

.wx-login-logo {
    width: 100vw;
    height: 20rem;
    margin-top: 10rem;
    text-align: center;
}

.wx-login-logo img {
    height: 100%;
}

.wx-login-btn {
    width: 100vw;
    text-align: center;
}

.wx-button {
    box-sizing: content-box;
    width: 30rem;
    height: 5rem;
    line-height: 5rem;
    margin: 10rem auto;
    padding: 2rem 10rem;
    border-radius: 2rem;
    background-color: rgb(41, 197, 70);
    border: 0px solid #ccc;
    font-size: 4rem;
    color: #fff;
    /* cursor: pointer; */
    font-weight: 900;
}

/* .wx-button:hover {
    background-color: rgb(35, 161, 53);
} */